package com.rentcars.service.impl;

import com.rentcars.entity.CarPrice;
import com.rentcars.mapper.CarPriceMapper;
import com.rentcars.service.CarPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("CarPriceService")
public class CarPriceServiceImpl implements CarPriceService {
    @Autowired
    private CarPriceMapper carPriceMapper;
    @Override
    public int deleteByPrimaryKey(String carid) {
        return 0;
    }

    @Override
    public int insert(CarPrice record) {
        return carPriceMapper.insert(record);
    }

    @Override
    public int insertSelective(CarPrice record) {
        return carPriceMapper.insertSelective(record);
    }

    @Override
    public CarPrice selectByPrimaryKey(String carid) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(CarPrice record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(CarPrice record) {
        return 0;
    }
}
